package edu.zust.zw.shop.db.dao;

import edu.zust.zw.shop.db.dao.domain.ShopUserDomain;
import edu.zust.zw.shop.db.dao.domain.ShopUserDomainExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ShopUserDomainMapper {
    long countByExample(ShopUserDomainExample example);

    int deleteByExample(ShopUserDomainExample example);

    int deleteByPrimaryKey(String userId);

    int insert(ShopUserDomain record);

    int insertSelective(ShopUserDomain record);

    List<ShopUserDomain> selectByExample(ShopUserDomainExample example);

    ShopUserDomain selectByPrimaryKey(String userId);

    int updateByExampleSelective(@Param("record") ShopUserDomain record, @Param("example") ShopUserDomainExample example);

    int updateByExample(@Param("record") ShopUserDomain record, @Param("example") ShopUserDomainExample example);

    int updateByPrimaryKeySelective(ShopUserDomain record);

    int updateByPrimaryKey(ShopUserDomain record);
}